package cn.tedu.egweibo3.controller;

import cn.tedu.egweibo3.base.respoonse.JsonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Justin Parker
 * @Date 2024/8/12 0012 17:03
 * @Version 1.0
 */
@Slf4j
@Api(tags = "用户模块")
@RestController
@RequestMapping("/v1/users")
public class UserController {

    @ApiOperation(value = "查询功能")
    @ApiImplicitParam(name = "id",value = "用户id",required = true,dataType = "int")
    @GetMapping("/select")
    public JsonResult selectById(Integer id){
        log.debug("Id="+id);
        return JsonResult.ok();
    }



}
